from pydantic import Field
from forward.extend.pydantic.base import BaseSchema


class DrawSchema(BaseSchema):
    title: str | None = Field(None, description="标题")
    prize_num: int | None = Field(None, description="奖品数量")
    desc: str | None = Field(None, description="描述")
    imgs: str | None = Field(None, description="图片列表")
    img_head: str | None = Field(None, description="头图")
    status: int = Field(1, description="状态")
    remark: str | None = Field(None, description="备注")
    path: str | None = Field(None, description="路径")


class DrawOutSchema(DrawSchema):
    id: int
